package com.zhongge.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName UserControl
 * @Description TODO
 * @Author zhongge
 * @Version 1.0
 */
@Controller
@RequestMapping("/login")
public class UserControl {
    @RequestMapping(value = "/login1")
    @ResponseBody
    public String login1() {
        System.out.println("成功进入");
        return "index.jsp";
    }

    @RequestMapping("/login2")
    public String login2(){
        System.out.println("输出！！！！！");
        return "/html/index.html";
    }
}
